<template>
  <div class="container">
    <div class="brilliant">
      <!-- 短视频 -->
      <div class="brilliantVideo">
        <div class="videoTitle">
          <h1>小剧场</h1>
          <div class="titleText">
            <el-button type="danger" size="small" style="margin-right: 14px;" round>推荐</el-button>
          <el-button size="small" style="margin-right: 14px;" round>推荐</el-button>
          <el-button size="small" style="margin-right: 14px;" round>推荐</el-button>
          <el-button size="small" style="margin-right: 14px;" round>推荐</el-button>
            <span>更多</span>
            <ArrowRight style="width: 1em; height: 1em; margin-right: 8px;" />
          </div>
        </div>
        <div class="videoContainer">
          <div class="videoBox">
            <div class="videoImg">
              <img src="https://tx2.a.kwimgs.com/upic/2021/09/07/11/BMjAyMTA5MDcxMTQ4MDdfMTcwMjI5Njc1M181Njc0NjA3ODU0NF8wXzM=_Bf605f344106096393e92e00101de0fe7.jpg?tag=1-1638232277-xpcwebhome-0-aqr4z8jjrl-74394483262fa471&clientCacheKey=3xwjj7ya5skh73g.jpg&di=71585619&bp=14944" alt="">
            </div>
            <div class="videoContext">
              <h5> 你们猜毛球的四色异瞳在晚上发什么光？看到最后肯定惊呼太炫酷了！ #快手宠物天团  #萌宠成长记  </h5>
              <div class="videoInfo">
                <StarFilled style="width: 1em; height: 1em; margin-right: 8px;" />
                <span>43w喜欢</span>
              </div>
            </div>
          </div>
          <div class="videoBox">
            <div class="videoImg">
              <img src="https://tx2.a.kwimgs.com/upic/2021/09/07/11/BMjAyMTA5MDcxMTQ4MDdfMTcwMjI5Njc1M181Njc0NjA3ODU0NF8wXzM=_Bf605f344106096393e92e00101de0fe7.jpg?tag=1-1638232277-xpcwebhome-0-aqr4z8jjrl-74394483262fa471&clientCacheKey=3xwjj7ya5skh73g.jpg&di=71585619&bp=14944" alt="">
            </div>
            <div class="videoContext">
              <h5> 你们猜毛球的四色异瞳在晚上发什么光？看到最后肯定惊呼太炫酷了！ #快手宠物天团  #萌宠成长记  </h5>
              <div class="videoInfo">
                <StarFilled style="width: 1em; height: 1em; margin-right: 8px;" />
                <span>43w喜欢</span>
              </div>
            </div>
          </div>
          <div class="videoBox">
            <div class="videoImg">
              <img src="https://tx2.a.kwimgs.com/upic/2021/09/07/11/BMjAyMTA5MDcxMTQ4MDdfMTcwMjI5Njc1M181Njc0NjA3ODU0NF8wXzM=_Bf605f344106096393e92e00101de0fe7.jpg?tag=1-1638232277-xpcwebhome-0-aqr4z8jjrl-74394483262fa471&clientCacheKey=3xwjj7ya5skh73g.jpg&di=71585619&bp=14944" alt="">
            </div>
            <div class="videoContext">
              <h5> 你们猜毛球的四色异瞳在晚上发什么光？看到最后肯定惊呼太炫酷了！ #快手宠物天团  #萌宠成长记  </h5>
              <div class="videoInfo">
                <StarFilled style="width: 1em; height: 1em; margin-right: 8px;" />
                <span>43w喜欢</span>
              </div>
            </div>
          </div>
          <div class="videoBox">
            <div class="videoImg">
              <img src="https://tx2.a.kwimgs.com/upic/2021/09/07/11/BMjAyMTA5MDcxMTQ4MDdfMTcwMjI5Njc1M181Njc0NjA3ODU0NF8wXzM=_Bf605f344106096393e92e00101de0fe7.jpg?tag=1-1638232277-xpcwebhome-0-aqr4z8jjrl-74394483262fa471&clientCacheKey=3xwjj7ya5skh73g.jpg&di=71585619&bp=14944" alt="">
            </div>
            <div class="videoContext">
              <h5> 你们猜毛球的四色异瞳在晚上发什么光？看到最后肯定惊呼太炫酷了！ #快手宠物天团  #萌宠成长记  </h5>
              <div class="videoInfo">
                <StarFilled style="width: 1em; height: 1em; margin-right: 8px;" />
                <span>43w喜欢</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- 排行版 -->
      <div class="brilliantTop">
        <div class="topTitle">
          <h1>剧场榜单</h1>
        </div>
        <div class="topContext">
          <div class="topItem">
            <h1>1</h1>
            <div class="topDesc">
              <span> 卫健委解答奥密克戎变异株 </span>
              <div class="topIcon">
                <Star style="width: 1em; height: 1em; margin-right: 8px; color: red;" />
                <span>1224.1w热度</span>
              </div>
            </div>
          </div>
          <div class="topItem">
            <h1>1</h1>
            <div class="topDesc">
              <span> 卫健委解答奥密克戎变异株 </span>
              <div class="topIcon">
                <Star style="width: 1em; height: 1em; margin-right: 8px; color: red;" />
                <span>1224.1w热度</span>
              </div>
            </div>
          </div>
          <div class="topItem">
            <h1>1</h1>
            <div class="topDesc">
              <span> 卫健委解答奥密克戎变异株 </span>
              <div class="topIcon">
                <Star style="width: 1em; height: 1em; margin-right: 8px; color: red;" />
                <span>1224.1w热度</span>
              </div>
            </div>
          </div>
          <div class="topItem">
            <h1>1</h1>
            <div class="topDesc">
              <span> 卫健委解答奥密克戎变异株 </span>
              <div class="topIcon">
                <Star style="width: 1em; height: 1em; margin-right: 8px; color: red;" />
                <span>1224.1w热度</span>
              </div>
            </div>
          </div>
          <div class="topItem">
            <h1>1</h1>
            <div class="topDesc">
              <span> 卫健委解答奥密克戎变异株 </span>
              <div class="topIcon">
                <Star style="width: 1em; height: 1em; margin-right: 8px; color: red;" />
                <span>1224.1w热度</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'Movie',
})
</script>

<script lang="ts" setup>
import { ArrowRight, StarFilled, Star } from '@element-plus/icons';
</script>

<style lang="less" scoped>
  // 内容盒子
  .container{
    margin-top: 46px !important;
    margin: 0 auto;
    width: 1126px;
    .brilliant{
      display: flex;
    }
  }
  // 标题
  .brilliantVideo{
    .videoTitle{
      height: 42px;
      line-height: 42px;
      display: flex;
      h1{
        margin: 0;
        margin-right: 24px;
      }
      .titleText{
        display: flex;
        align-items:center;
      }
    }
  }
  // 视频
  .videoContainer{
    width: 710px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    .videoBox{
      width: 159.5px;
      margin-right: 16px;
      margin-bottom: 46px;
      .videoImg{
        width: 100%;
        height: 263.5px;
        font-size: 0;
        img{
          border-radius: 5px;
          width: 100%;
          height: 100%;
        }
      }
      .videoContext{
        padding-top: 16px;
        h5{
          margin: 0;
          width: 159.5px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        .videoInfo{
          display: flex;
          margin-top: 5px;
          color: #999;
        }
      }
    }
  }
  // 排行版
  .brilliantTop{
    width: 416px;
    .topTitle{
      padding-left: 7px;
      h1{
        margin: 0;
      }
    }
    .topContext{
      width: 383px;
      margin-top: 24px;
      padding: 0 16.5px;
      background-color: #fbfbfb;
      .topItem{
        display: flex;
        height: 69px;
        align-items: center;
        border-bottom: 1px solid #f2f2f2;
        h1{
          margin: 0;
          margin-right: 5px;
          width: 35px;
          text-align: center;
          color: #fe3666;
        }
      }
    }
  }
</style>